#ifndef __MY_GAME_H
#define __MY_GAME_H

#include <stdio.h>
#include <unistd.h>//sleep引入的

#define PLACE_GAME_PLAYER_LEFT(x,y)       ((0<=x&&x<80)&&(400<=y&&y<480))
#define PLACE_GAME_PLAYER_RIGHT(x,y)      ((80<=x&&x<160)&&(400<=y&&y<480))
#define PLACE_GAME_PLAYER_ATTACK(x,y)     ((720<=x&&x<800)&&(400<=y&&y<480))
#define PLACE_GAME_PLAYER_EXIT(x,y)       ((700<=x&&x<800)&&(0<=y&&y<100))

int monster_blood;

void game_show();
void game_play();

#endif